/**
 * Created with JetBrains WebStorm.
 * User: Eric
 * Date: 02/02/13
 * Time: 17:33
 * To change this template use File | Settings | File Templates.
 *
 *
 */


/*
 * this is a test file for design a Dao pattern like in Java.
 * This is the model of user
 */
var Health = function Health(rawObject){

    this.id = rawObject.id;
    this.name = rawObject.name;
    this.min = rawObject.min;
    this.max  = rawObject.max;
}